<?php 
require_once("library/template.php");
require("resources/const.php");

?>


<form name="commentPost" action="loading.php" method="post">
	<fieldset>
	<input type="hidden" name="bad" value=<?php echo $_SERVER['REQUEST_URI']; ?>>
    <input type="hidden" name="postid" value=<?php echo $_GET["postid"]; ?>>
	<p id="postform_contentpara">
	<textarea placeholder="Comment" rows=5 cols=60 type="text" style="min-width:60%"name="content" id="postform_content"></textarea></p>
	<!--<INPUT TYPE="button" NAME="button" Value="Submit" onclick="post(this.form);"/> -->
	<!--Do Support for pressing enter to submit and clearing the input fields-->
	<p><input type="submit" name="comment" value="Post"/></p>
    </fieldset>
</form>